home *** CD-ROM | disk | FTP | other *** search
/ Precision Software Appli…tions Silver Collection 1 / Precision Software Applications Silver Collection Volume One (PSM) (1993).iso / tutor / dosguide.exe / HELPDOS.ZIP / PRINT.HLP < prev    next >
Text File  |  1985-09-10  |  3KB  |  87 lines

  1. -----------------------  PRINT - External DOS Command  -------------------------
  2.  
  3. PRINT prints files on the printer.
  4.  
  5. FORMAT:   PRINT [[d:][filename[.ext]][/T][/C][/P]...]
  6.  
  7. REMARKS:
  8.  
  9.    d:       - the drive letter of the file.  If omitted, the default drive is
  10.               assumed.
  11.    filename - the filename of the file to be printed.
  12.    .ext     - the filename extension of the file to be printed.
  13.    /T       - terminates the print command.  Printing of the current file is
  14.               stopped, the paper is advanced to the next page, the printer alarm
  15.               sounds and all files queued for printing are canceled.  The
  16.               message "All files canceled by operator" will be printed.
  17.    /C       - cancels files in the queue of files to be printed.  The filename
  18.               preceding /C and all filenames following the /C, until a /P is
  19.               encountered, are canceled.  The message "File canceled by
  20.               operator" will be printed.
  21.    /P       - prints the preceding filename and all following filenames until a
  22.               /C is encountered.  If no / parameter has been specified, then /P
  23.               is assumed.
  24.  
  25.    Global characters (* and ?) are allowed in the filename and extension.
  26.  
  27.    Entering PRINT with no parameters will display the names of files in the
  28.    print queue.
  29.  
  30.    Only files in the current directory may be queued for printing.  You may,
  31.    however, change the current directory without affecting previously queued
  32.    files.
  33.  
  34.    The first time PRINT is entered after starting the system, the resident size
  35.    of DOS is increased by approximately 3200 bytes.  PRINT also will display the
  36.    prompt:
  37.  
  38.           Name of list device [PRN]:
  39.  
  40.    You then specify the output device, such as LPT1, LPT2, COM1, AUX, etc.
  41.    Pressing RETURN without specifying a device will cause the default, PRN, to
  42.    be used.  Specifying an invalid device may cause unpredictable system
  43.    operation.
  44.  
  45.    PRINT keeps track of the files to be printed in a queue.  They are printed in
  46.    the order in which they are entered.  The paper is advanced to the top of the
  47.    next page after each file is printed.  Tab characters, if found, are expanded
  48.    with blanks to the next 8-column boundary.
  49.  
  50.    If a disk error occurs, PRINT cancels the printing of the file, prints a disk
  51.    error message, advances the paper, sounds the alarm and prints the remaining
  52.    files in the queue.
  53.  
  54.  
  55. NOTES:
  56.  
  57.    While PRINT has data to print the printer cannot be used for any other
  58.    purpose.  The messages "out-of-paper" or "time-out" or "not ready" will be
  59.    given if a CTRL-PRTSC, SHIFT-PRTSC or other printer commands are entered.
  60.  
  61.    The disk with files to be printed must remain in the specified drive and the
  62.    files to be printed must not be erased or altered until the printing is
  63.    completed or terminated.
  64.  
  65.  
  66. EXAMPLES:
  67.  
  68. Print the file MYFILE.  MYFILE is on the default drive:
  69.  
  70.           PRINT MYFILE
  71.  
  72.  
  73. Print all files on the default drive that have the filename extension .DAT:
  74.  
  75.           PRINT *.DAT
  76.  
  77.  
  78. Cancel the file MYFILE that has been queued for printing:
  79.  
  80.           PRINT MYFILE/C
  81.  
  82.  
  83. Cancel the printing of the current file and remove all files from the print
  84. queue:
  85.  
  86.           PRINT /T
  87.